﻿using System;
using System.Collections.Generic;

namespace JoyfulHomeJourney.BackEnd.Infrastructure.EFCore
{
    public partial class Discounts
    {
        public Discounts()
        {
            OfflineOrders = new HashSet<OfflineOrders>();
            OnlineCustomerDiscounts = new HashSet<OnlineCustomerDiscounts>();
            VipDiscounts = new HashSet<VipDiscounts>();
        }

        public string DId { get; set; }
        public float DDiscount { get; set; }
        public int DMaxDiscountCount { get; set; }
        public DateTime DCreateTime { get; set; }

        public virtual ICollection<OfflineOrders> OfflineOrders { get; set; }
        public virtual ICollection<OnlineCustomerDiscounts> OnlineCustomerDiscounts { get; set; }
        public virtual ICollection<VipDiscounts> VipDiscounts { get; set; }
    }
}
